<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
	  <link rel="shortcut icon" href="/favicon.png">
  </head>
  <body>

    <div id="general" class="yui-t7">
	    <div id="topgreen"></div>
        <div id="hd">
            <div style="float:left"><a href="<?php echo url_for('home') ?>"><img src="/images/logo.jpg" width="420" height="104"></a></div>
            <?php if($sf_user->isAuthenticated()): ?>
            <a href="<?php echo url_for('sf_guard_signout') ?>"><div id="logout" style="float:right"></div></a>
            <div id="settings" style=" float:right"><a href="#"><img src="/images/x.gif" width="1" height="1" border="0"></a></div>
            <div id="people" style="float:right"><img src="/images/people.jpg" width="51" height="27"></div>
            <div id="places" style="float:right"><img src="/images/places_on.jpg" width="47" height="27"></div>
            <?php endif; ?>
	    </div>

          <br>
          <div id="barramenu" style="float:left">
            <?php if($sf_user->isAuthenticated()): ?>
            <div id="bmydoor" style="float:left"><img src="/images/x.gif" width="82" height="40"></div>
            <div id="bhome" style="float:left"><img src="/images/x.gif" width="66" height="40"></div>
            <div id="binbox" style="float:left"><img src="/images/x.gif" width="61" height="40"></div>
            <div id="bchat" style="float:left"><img src="/images/x.gif" width="170" height="40"></div>
            <div id="inboxglobe" style="float:left"><span style="font-family:arial; font-weight: bold; color:#FFF; font-size: 10px;">28</span></div>
            <input name="concss" type="text" class="clase2" onBlur="this.value='type neighborhood, building or restaurant...'" onFocus="if (this.value=='type neighborhood, building or restaurant...') this.value='';" style="float: left; width: 250px;" value="type neighborhood, building or restaurant..." />
            <div style="float:left; position:relative; left:227px; top:3px;"><a class="small green awesome">Buscar »</a></div>
            <?php endif; ?>
          </div>
          
    <?php echo $sf_content ?>

	    <div id="footer"></div>
    </div>
    <div id="footerlinks">
      <div style="width:974px; width:974px; height:auto; margin: 0 auto; margin-top:10px;">
        <div id="footerlinks2">
          <div style="width:974px; width:974px; height:auto; margin: 0 auto; margin-top:10px;">
            <div id="footerlinks3">
              <div style="width:974px; width:974px; height:auto; margin: 0 auto;">
                <div style="position:relative; float:left; width:150px; height:20px;" class="footext">&copy; 2011 Nearfriendzz</div>
                <div style="position:relative; float:left; width:674px; height:20px;" class="footext"><a href="#">Acerca de</a> &bull; <a href="#">Contacto</a> &bull; <a href="#">Condiciones</a> &bull; <a href="#">Privacidad</a></div>
                <div style="position:relative; float:left; width:150px; height:20px;" class="footext">Idioma: Castellano </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
